<script setup>
// import {ref} from 'vue'
defineProps({
  title: String,
})
const isbackShow = false

</script>

<template>
  <div class="mainPage">
    <MainContainerHeader :isBackShow=isbackShow>工业互联网平台
    </MainContainerHeader>
    <el-container>
      <el-main class="main">
        <el-page-header @back="$router.back" class="header">
          <template #title>
            <el-text type="primary">返回</el-text>
          </template>
          <template #content>
            <span class="text-large font-600 mr-3">
              {{ title }}
            </span>
          </template>
        </el-page-header>
        <!-- <div> -->
        <slot></slot>
        <!-- </div> -->

      </el-main>
    </el-container>
  </div>
</template>

<style scoped lang="less">
.header {
  margin-bottom: 10px;
}
</style>
